package com.wetao.lib_common.greendao.model;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.NotNull;
import org.greenrobot.greendao.annotation.Unique;

@Entity
public class PagePictureOnline {
    @Id(autoincrement = true)
    private Long id;

    @NotNull
    private Integer questionId;
    //试题序号
    private Integer questionNo;

    private String pictureUrl;//上传服务端地址

    private String localClipPath; //新增本地切图地址

    private String localPath;//本地地址

    private Integer answerIndex;//图片在答题的位置

    private Float Min_h;  //切图对应的最小高度位置
    private Float Max_h;  //切图对应的最大高度位置

    @NotNull
    @Unique
    private String pictureId;
    //铺码id
    private Integer bookId;
    //页码
    private Integer pageNumber;
    //
    private Integer sectionNo;
    //
    private Integer ownerNo;
    //云蝶的序列号
    private String pageSerial;//对应点阵纸标识

    @NotNull
    private Long assistantExamId;

    @Generated(hash = 1403815173)
    public PagePictureOnline(Long id, @NotNull Integer questionId,
            Integer questionNo, String pictureUrl, String localClipPath,
            String localPath, Integer answerIndex, Float Min_h, Float Max_h,
            @NotNull String pictureId, Integer bookId, Integer pageNumber,
            Integer sectionNo, Integer ownerNo, String pageSerial,
            @NotNull Long assistantExamId) {
        this.id = id;
        this.questionId = questionId;
        this.questionNo = questionNo;
        this.pictureUrl = pictureUrl;
        this.localClipPath = localClipPath;
        this.localPath = localPath;
        this.answerIndex = answerIndex;
        this.Min_h = Min_h;
        this.Max_h = Max_h;
        this.pictureId = pictureId;
        this.bookId = bookId;
        this.pageNumber = pageNumber;
        this.sectionNo = sectionNo;
        this.ownerNo = ownerNo;
        this.pageSerial = pageSerial;
        this.assistantExamId = assistantExamId;
    }

    @Generated(hash = 470018460)
    public PagePictureOnline() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getQuestionId() {
        return this.questionId;
    }

    public void setQuestionId(Integer questionId) {
        this.questionId = questionId;
    }

    public Integer getQuestionNo() {
        return this.questionNo;
    }

    public void setQuestionNo(Integer questionNo) {
        this.questionNo = questionNo;
    }

    public String getPictureUrl() {
        return this.pictureUrl;
    }

    public void setPictureUrl(String pictureUrl) {
        this.pictureUrl = pictureUrl;
    }

    public String getLocalClipPath() {
        return this.localClipPath;
    }

    public void setLocalClipPath(String localClipPath) {
        this.localClipPath = localClipPath;
    }

    public String getLocalPath() {
        return this.localPath;
    }

    public void setLocalPath(String localPath) {
        this.localPath = localPath;
    }

    public Integer getAnswerIndex() {
        return this.answerIndex;
    }

    public void setAnswerIndex(Integer answerIndex) {
        this.answerIndex = answerIndex;
    }

    public Float getMin_h() {
        return this.Min_h;
    }

    public void setMin_h(Float Min_h) {
        this.Min_h = Min_h;
    }

    public Float getMax_h() {
        return this.Max_h;
    }

    public void setMax_h(Float Max_h) {
        this.Max_h = Max_h;
    }

    public String getPictureId() {
        return this.pictureId;
    }

    public void setPictureId(String pictureId) {
        this.pictureId = pictureId;
    }

    public Integer getBookId() {
        return this.bookId;
    }

    public void setBookId(Integer bookId) {
        this.bookId = bookId;
    }

    public Integer getPageNumber() {
        return this.pageNumber;
    }

    public void setPageNumber(Integer pageNumber) {
        this.pageNumber = pageNumber;
    }

    public Integer getSectionNo() {
        return this.sectionNo;
    }

    public void setSectionNo(Integer sectionNo) {
        this.sectionNo = sectionNo;
    }

    public Integer getOwnerNo() {
        return this.ownerNo;
    }

    public void setOwnerNo(Integer ownerNo) {
        this.ownerNo = ownerNo;
    }

    public String getPageSerial() {
        return this.pageSerial;
    }

    public void setPageSerial(String pageSerial) {
        this.pageSerial = pageSerial;
    }

    public Long getAssistantExamId() {
        return this.assistantExamId;
    }

    public void setAssistantExamId(Long assistantExamId) {
        this.assistantExamId = assistantExamId;
    }



   





}
